home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wayzata's Best of Shareware PC/Windows 1
/
Wayzata's Best of Shareware for PC-Windows - Release 1 - Wayzata Technology (1993).iso
/
mac
/
ZIPPED
/
DOS
/
TELECOMM
/
NWSMKR30.ZIP
/
NWSMKR30.DOC
< prev
next >
Wrap
Text File
|
1992-10-12
|
9KB
|
203 lines
NEWSMAKR v2.0
Written by: Gregory R. Barton
3334 NW 4th Street
Gainesville, FL 32609
SysOp: Alachua County Computer Users Group BBS
(904) 335-7289
-----------------------------
Included within this ZIP file should be the following files:
NWSMKR30.DOC The file you're reading now.
NWSMKR30.EXE The News Maker program.
MNEWSCFG.EXE Program to customize the colors
in the MAKENEWS program.
NEWS.IN Sample input NEWS file.
MAKENEWS.CFG Default color scheme.
SHOWNEWS.EXE Colorized file viewer.
STRIPCDS.EXE Program to strip the "@Xnn" codes
from a colorized file.
FILE_ID.DIZ PCBoard 14.5a upload file description.
-----------------------------
Operation:
When you first get ready to run the NEWSMAKER program, you may want
to run the MNEWSCFG.EXE program to customize the colors you wish to
use and add your BBS name to the program. Color input uses the new
PCBoard 14.5 '@Xnn' color codes for speed and ease of use. The last
line to input is the name of your BBS. If everything is correct, a
MAKENEWS.CFG file will be written with your customized configuration.
The next step is to create a NEWS input file to colorize. Included is
a sample, "NEWS.IN", file so that you may see how one is written.
Using a standard ASCII text editor, create and save this file under the
name NEWS.IN (or whatever you'd like to name it). The following control
codes are used:
!S - This stands for SUBJECT. The text which follows on this
line will be the subject headline and must be 30 characters
or less in length.
!D - This stands for DATE. The text which follows on this line
will be the date for display purposes and to help you keep
track of how old a particular NEWS subject is. Since this is
treated as ASCII text, you can use any date format you wish up
to a maximum of 30 characters.
!T - This stands for TEXT to follow. All text after this control
code will be treated as the body of text for the news file.
!# - # is a number (1,2,3 or 4) which will be colors for HIGH-
LIGHTED text. The text following one of these control codes
will be written in the color you have chosen for the high-
lighted text number.
NOTE: These control codes replace the "!H" control code in
previous versions of NEWSMAKER (1.0 and 1.1).
!N - This stands for NORMAL text. Use this to turn high-lighted
text off and revert back to normal text color.
!C - This will write a "@CLS" command to your output file which
PCBoard will process as a clear screen command.
!M - This will write a "@MORE" command to your output file which
will cause PCBoard to display the "More?" prompt when display-
ing your NEWS file.
!W - This will write a "@WAIT" command to your output file which
will cause PCBoard to wait at that point in the text.
After you have created the NEWS input file, please make sure it is in
the proper format and save it. Next run NWSMKR30.EXE as follows:
NWSMKR30 input-file output-file [RETURN]
NEWSMAKER will take the input file, colorize and format it, and output
it to the NEWS output file you specified on the command line.
-----------------------------
Error Messages:
NEWSMAKER will respond with an error message IF:
1> The color configuration file, MAKENEWS.CFG, is not in the
current directory.
2> Incorrect command-line syntax is used.
3> The NEWS input file does not exist.
In each case, the appropriate error message will be displayed to alert
you to the problem.
-----------------------------
Processing and Output:
As NEWSMAKER is converting your input NEWS file to an output NEWS file
your monitor will display the current status. At the top of the screen
will be displayed the input filename, output filename and NEWSMAKER
version number.
Directly below the heading, the actual output NEWS file will be displayed
as it is processed, allowing you to see if any errors occur.
Upon normal program completion, NEWSMAKER will confirm that the output
NEWS file was created and will report the number of lines processed in
the input file.
-----------------------------
Additional Files :
Included in this package is a quick NEWS file viewer, SHOWNEWS.EXE. To
use this file viewer, type:
SHOWNEWS <color-file>
where "color-file" is the file created with NWSMKR30.
Also included is a short program to strip your PCBoard "@Xnn" codes
from your colorized files: STRIPCDS.EXE. To use this program type:
STRIPCDS <color-file> <output-file>
where "color-file" is a colorized file with PCBoard "@Xnn" codes
and "output-file" is the name of the file where the stripped-free
text will be written to.
---------------------------------------------------------------------
* Please mail your $15.00 Donation or any comments to:
Greg Barton
3334 NW 4th Street
Gainesville, FL 32609
Phone: (904) 372-4765
BBS (Alachua County Computer Users Group (ACCUG)): (904) 335-7289
Thank you for your support.
---------------------------------------------------------------------
Newsmaker History
v1.0. Original NEWSMAKER released.
v1.1. Added support for input file listing ("!F" control code) and
support for NEWS files longer than 99 lines of text.
v1.5. Deleted the "!H" control code in favor of four new highlight
control codes. These control codes can now be embedded in body
text and turned on or off at will. Previous versions would only
let you have text of a different color all on one line.
v1.6. Fixed a bug where if an invalid control character followed a "!",
the program would hang the computer and force a three-fingered-
salute.
NEWSMAKER correctly handles this problem now, passing the control
code straight through to the output file so you can see your
mistake.
Added the .DIZ file description for PCBoard 14.5a upload descript-
ions.
v2.0. Deleted the "!F" control code (used previously to specify the
output filename). NEWSMAKER now accepts, and requires, the output
filename to be specified on the command line along with the input
filename.
Reworked the output display to show the actual NEWS file output as
the input file was being processed. Also included headings and
status lines for reporting functions.
Reworked the parsing code in places to make it more tighter and
streamlined.
Added error-checking on the command line to alert you to possible
problems such as missing color configuration files (MAKENEWS.CFG)
or missing input NEWS files. Also checks to make sure that you
specify both an input and output filename.
v2.1 Rewrite of the NEWSMAKER code using Turbo Pascal 6.0. This
code results in much faster processing time and creates a
smaller run-time file. Other cosmetic changes included.
v3.0 New PCBoard screen flow control codes added:
"!C" will write a "@CLS" command to your output file;
"!M" will write a "@MORE" command to your output file; and
"!W" will write a "@WAIT" command to your output file.
Also, "!E text" will write "text" at the end of your NEWS
display (defaults to "End of News!").
End of History.